/*
 *      style.css
 *
 *      Copyright 2010 Mikhail Pimenov <mupimenov@gmail.com>
 *
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */
* {margin: 0; padding: 0;
   font-size: 10pt; line-height: 1.4em; font-family: sans-serif; color: #333;}

html, body {height: 100%;}
body /*{background: #ccc url('/html/bg.jpg');}*/
{background: #fff;}

a, a:visited /*{color: #017cbd; color: #44a5d4; text-decoration: none;}*/
{color: #750000; text-decoration: none;}

a:hover {text-decoration: underline; color: #e00000;}

em, .i, i {font-style: italic;}

strong, b {font-weight: bold;}

del {text-decoration: line-through;}

blockquote {border-left: 1px solid #b0b7ba; padding-left: 0.5em;}

ul, ol {padding: 0; list-style-position: outside;}

ul {margin-left: 1.1em; list-style-type: square;}
ol {margin-left: 1.5em; list-style-type: decimal;}

p { font-size: 1em; }
h6 { font-size: 1.14em; } /* заголовки блоков сайдбара */
h5 { font-size: 1.28em; }
h4 { font-size: 1.5em; } /* вспомогательные заголовки: комментариев, тэгов и проч. */
h3 { font-size: 1.71em; } /* заголовок разделов статей */
h2 { font-size: 2.57em; } /* заголовок статей */
h1 { font-size: 1.14em; } /* это заголовок блога */

h3 {margin-bottom: 1.17em;}
h2 {margin-bottom: 0.38em;}
/*p {margin-bottom: 1.4em;}*/

/*h6 {color: #000;}*/
h4 {font-weight: lighter;}
h3 {color: #b0b7ba;}
h2 {font-weight: normal; color: #000;}
h1, h2, h3, h4, h5, h6 {text-align: left;}

.right {width: auto; float: right;}

#container {position: relative; min-height: 100%; margin: 0 auto; margin-bottom: -41px; width: 930px; 
            background-color: #fffffd; border-left: 0px solid #b0b7ba; border-right: 0px solid #b0b7ba;}

* html #container {height: 100%;}

#header {padding: 2px 10px 0 10px; height: 20px;
         border-bottom: 0px solid #b0b7ba;}

#header h1 a {font-size: inherit;
               float: left; width: auto;}

#header h1 a:hover {text-decoration: none;}

#user {width: auto; float: right; clear: right;}

#login {margin-left: 0.5em;}

#log ul {list-style: none; margin-left: 0;}

#log .messages {padding: 10px;
                background-color: #f0f4f3; -moz-border-radius: 5px;}

#log .errors, #page-error {padding: 10px;
                           background-color: #F2E8E5; -moz-border-radius: 5px;}

.messages li, .errors li {font-style: italic;}

#sidebar {position: absolute; top: 25px; right: 0; width: 270px; padding: 10px;}

#leftbar {padding: 10px; margin-right: 290px;}

#footer-empty {height: 40px; clear: both;}

#footer {position: relative; height: 30px; width: 930px; margin: 0 auto;
         border-top: 0px solid #b0b7ba; z-index: 100;}
#footer div {margin: 10px;}

.btn {background-color: inherit; color: #750000; border: 0; clear: both; 
      float: right; width: auto;}

.btn:hover {text-decoration: underline; color: #e00000;}

.ctl {list-style: none; float: right; clear: right; width: auto;}
.ctl li {float: left; display: block; margin-left: 5px;}

.txt {background-color: #fff; border: 1px solid #b0b7ba; width: auto; margin-top: 5px;}

.wide {width: 100%;}

/* page */
.page {margin-top: 20px; padding-bottom: 0.5em;
       border-bottom: 1px dotted #b0b7ba;}
.page-title a {color: inherit; font-size: inherit;}
.page-date {font-size: 0.8em; font-weight: 600;}
.page-body {margin-top: 5px; text-align: justify;}
.page-body p {line-height: 1.4em; margin-bottom: 1.4em;}
.page-body ol, .page-body ul {margin-bottom: 1.4em;}

.page-short {border-bottom: 1px dotted #b0b7ba; margin-top: 1em;}
.page-short:hover {background-color: #f0f4f3;}

#pages-locked, #tag-list, #blocks, #feeds, #pages-recent
{background-color: #f0f4f3; -moz-box-shadow: 3px 3px 1px #bbb; -moz-border-radius: 5px;
 padding: 10px; margin-bottom: 10px;}
/*
{background-color: #e5eef2; border-bottom: 1px solid #b0b7ba;
 padding: 10px; margin-bottom: 10px;} */

#pages-locked ul {margin-left: 0;}
#pages-locked li {list-style: none;}

#pages-recent ul {margin-left: 0;}
#pages-recent li {list-style: none;}

/* comments */
.comments {margin: 1.4em 0 1.4em 0;}

.comments-count a {font-size: 0.8em;}

.comment {margin-top: 1em; padding: 10px 0 10px 10px;
          background-color: #f0f4f3; -moz-border-radius: 5px;}

.comment-time {margin-left: 1em; font-size: 0.8em; font-weight: lighter;}

.comment-body {margin-top: 0.5em;}

.last-comment {margin-bottom: 1.4em;}
.last-comment:hover {}

/* user */
.frm, .activity 
{margin: auto; padding: 10px; width: 300px;
 background-color: #f0f4f3; -moz-border-radius: 5px;}

/* tags */

#tag-list span a {margin-right: 0.3em;}

#all-tags a {margin-right: 0.3em;}

.tags {}
.tag {display: inline-block;}
.tag-ctl {border-bottom: 1px dotted #b0b7ba;}
.tag-ctl:hover {background-color: #f0f4f3;}

#feeds ul {margin-left: 0;}
#feeds li {list-style: none;}

.activity {margin-bottom: 10px;}

.newactivity {background-color: #c3f499;}

/* sizable */
.sizable {
    overflow: hidden;
}

/* etc. */
.hide {display: none;}
